package com.ruoyi.analysis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author WeiHanQiang
 * @date 2025/08/18 05:53
 **/
public class AnalyzePayloadReq {
    /**
     * 环境谱编号
     */
    private String envSpectrumNo;

    /**
     * 样本谱编号
     */
    private String sampleSpectrumNo;

    /**
     * 模型id
     */
    private Long modelId;

    public AnalyzePayloadReq() {}


    public AnalyzePayloadReq(String envSpectrumNo, String sampleSpectrumNo, Long modelId) {
        this.envSpectrumNo = envSpectrumNo;
        this.sampleSpectrumNo = sampleSpectrumNo;
        this.modelId = modelId;
    }

    public String getEnvSpectrumNo() {
        return envSpectrumNo;
    }

    public void setEnvSpectrumNo(String envSpectrumNo) {
        this.envSpectrumNo = envSpectrumNo;
    }

    public String getSampleSpectrumNo() {
        return sampleSpectrumNo;
    }

    public void setSampleSpectrumNo(String sampleSpectrumNo) {
        this.sampleSpectrumNo = sampleSpectrumNo;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("envSpectrumNo", getEnvSpectrumNo())
                .append("sampleSpectrumNo", getSampleSpectrumNo())
                .append("modelId", getModelId())
                .toString();
    }
}
